WPDesk\ShopMagic\Frontend\Interceptor\CurrentCustomer S

Total Complexity 46
Dependencies 11
Dependents 2
Total lines 251
Lines of code 149
Logical lines of code 88
Comment lines 52
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
get_customer()
A
50 9 27
can_save_cookie()
S
59 7 15
get_raw_tracking_data()
S
60 5 15
capture_from_comment()
S
66 4 9
capture_from_order()
S
65 3 9
remember_tracking_key()
S
65 3 9
hooks()
S
61 2 11
is_customer_provided()
S
69 2 7
get_decoded_tracking_data()
S
66 2 8
refresh_tracking_user_id()
S
74 2 5
__construct()
S
62 1 11
set_meta()
S
79 1 3
is_enabled_session_tracking()
S
79 1 3
is_enabled_cookie()
S
79 1 3
set_user_email()
S
75 1 4
set_user_id()
S
75 1 4
encode_tracking_data()
S
70 1 6